package nl.haemers.data.reflection 
{
	/**
	 * ...
	 * @author Jonathan Haemers
	 */
	public class Arg implements IArg 
	{
		private var _key				:String;
		private var _value				:String;
		
		public function Arg(description:XML) 
		{
			init(description);
		}		
		
		/** Public methods **/
		public function toString() : String
		{
			return _key;
		}
		
		/** Getters & Setters **/
		public function get key():String 
		{
			return _key;
		}
		
		public function get value():String 
		{
			return _value;
		}

		/** Protected methods **/
		
		/** Private methods **/
		
		/** Static methods **/
		private function init(xml:XML) : Boolean
		{
			//var arg:Arg = new Arg();
			this._key = xml.@key;
			this._value = xml.@value;
			
			return true;
		}
		
	}

}